package com.caigou.modules.famous.ui.famous

import android.os.Bundle
import com.alibaba.android.arouter.facade.annotation.Route
import com.caigou.comm.base.constants.RouterPath
import com.caigou.comm.base.container.BaseActivity
import com.caigou.modules.famous.databinding.ActivityFamousRuleBinding
import dagger.hilt.android.AndroidEntryPoint

/**
 * @author #Suyghur.
 * Created on 2021/12/08
 */
@Route(path = RouterPath.Famous.PAGE_RULE)
@AndroidEntryPoint
class FamousRuleActivity : BaseActivity() {
    private lateinit var binding: ActivityFamousRuleBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = ActivityFamousRuleBinding.inflate(layoutInflater)
        setContentView(binding.root)
        containerId = binding.famousRuleLlContainer.id
        initView()
    }

    private fun initView() {
        binding.famousRuleTvBack.setOnClickListener {
            finish()
        }
    }
}